package com.lauroc.dept.mapper;

import com.lauroc.dept.domain.Department;
import com.lauroc.dept.query.DepartmentQuery;
import org.apache.ibatis.annotations.Param;
import tk.mybatis.mapper.common.Mapper;

import java.util.List;

public interface DepartmentMapper extends Mapper<Department> {




    //分页查询部门信息
    List<Department> findPage(DepartmentQuery department);

    //查询上级部门
    List<Department> findParentDepts();

   
    //批量删除部门信息
    void batchDelete(@Param("ids") Long[] ids);
}
